package com.jianguo.companion.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianguo.common.core.domain.BaseEntity;
import com.jianguo.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;

/**
 * 实名认证对象 pz_identify
 *
 * @author hxq
 * @date 2024-03-26
 */
@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PzIdentify extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 序号 */
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;
    /** 姓名  */
    @Excel(name = "姓名 ")
    private String user;
    /** 手机号码	 */
    @Excel(name = "手机号码	")
    private String phone;
    /** 所在地区 */
    @Excel(name = "所在地区")
    private String province;
    /** 身份证号 */
    @Excel(name = "身份证号")
    private String code;
    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long status;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("user", getUser())
                .append("phone", getPhone())
                .append("province", getProvince())
                .append("code", getCode())
                .append("status", getStatus())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .append("deleted", getDeleted())
                .append("remark", getRemark())
                .toString();
    }
}
